package com.sxs.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import com.sxs.service.PersonalAddServiceInterface;

@Controller
@RequestMapping(value = "/test")
public class TestController {
	private static Logger logger = Logger.getLogger(TestController.class);

	private PersonalAddServiceInterface paService;

	@Autowired
	public void setPaService(PersonalAddServiceInterface paService) {
		this.paService = paService;
	}

	@RequestMapping(value = "/test1", method = RequestMethod.GET)
	public ModelAndView addEmployee(HttpServletRequest request, HttpSession session) {
		ModelAndView mv = new ModelAndView("/leaveOffice/AddLieaveOffice");
		return mv;
	}
	
	

}
